#include "packet.hpp"

/**
 * @brief
 *
 * @param a
 * @param b
 * @param c
 * @return MsgDemo_output_msg
 */
MsgDemo_output_msg packet::setFrame(uint8_t a, uint8_t b, uint8_t c)
{
    this->message.data[0] = a;
    this->message.data[1] = b;
    this->message.data[2] = c;
    return this->message;
}

/**
 * @brief
 *
 */
packet::packet(/* args */)
{
    header.magic_word[0] = 0x0102;
    header.magic_word[1] = 0x0304;
    header.magic_word[2] = 0x0506;
    header.magic_word[3] = 0x0708;
    header.version = 1;
}

packet::~packet()
{
}
